<template>
  <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
    <el-menu router
             :default-active="$route.path"
             class="el-menu-vertical-demo"
             :default-openeds="['1']">
      <el-submenu index="1">
        <template slot="title"><i class="el-icon-message"></i>导航一</template>
        <el-menu-item-group>
          <el-menu-item index="/user/list">用户列表</el-menu-item>
          <el-menu-item index="/user/add">添加用户</el-menu-item>
        </el-menu-item-group>
      </el-submenu>

      <el-submenu index="2">
        <template slot="title"><i class="el-icon-message"></i>导航二</template>
        <el-menu-item-group>
          <el-menu-item index="/user/list1">用户列表1</el-menu-item>
          <el-menu-item index="/user/add1">添加用户1</el-menu-item>
        </el-menu-item-group>
      </el-submenu>
    </el-menu>
  </el-aside>
</template>

<script>
  export default {
    name: "newLeft1111",
  }
</script>

<style scoped>

</style>
